SftTree/OCX 7.0

SftTree.CancelMode Method

Softel vdm, Inc.

Cancels internal modes.

Syntax       

VB.NET

object.CancelMode()

VB

object.CancelMode

C#.NET

void object.CancelMode();

VC++

HRESULT object->CancelMode();

C

HRESULT object->raw_CancelMode();

Delphi

procedure object.CancelMode();

object

A SftTree object.

Comments

The CancelMode method cancels internal modes.

Applications may wish to respond to events such as ItemClick or MouseDown.  Many mouse related events may have built-in functions, particularly drag & drop operations may be started after these events are processed.  If an application wants to suppress the built-in behavior, e.g. to display a context menu, the internal state of the tree control has to be cleared.  This can be accomplished using the CancelMode method. 

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com